﻿using System.Diagnostics;
using System.Web.Mvc;

namespace Yyyg.WebUI.Filter
{
    public class GlobalActionAttribute : ActionFilterAttribute
    {
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            var ctx = filterContext.HttpContext;
            var response = ctx.Response;
            var request = ctx.Request;
            Debug.WriteLine("请求地址:" + request.Path);
        }
    }
}